﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;
using NUnit.Framework;
using AppToolkit.WPF.Services.UserMessageHandling.UI;

namespace AppToolkit.WPF.Tests.Services.UserMessageHandling.UI
{
    [TestFixture]
    public class SeverityConverterTests
    {
        [Test]
        public void Can_initialize_Icons_from_referenced_assembly()
        {
            var target = new SeverityConverter();
            
            Assert.AreEqual(3, target.Bitmaps.Count);
            
            Assert.IsNotNull(target.Bitmaps["Info"]);
            Assert.IsNotNull(target.Bitmaps["Warning"]);
            Assert.IsNotNull(target.Bitmaps["Error"]);
        }
    }
}